<!-- 1.create EnquiryRequest object -->
<cfset req = createObject("java", "com.cps.match.sdo.EnquiryRequest") />
<cfset acquirerId = createObject("java", "com.cps.match.sdo.AcquirerId").init(1996) />
<cfset offset = createObject("java", "com.cps.match.sdo.Offset").init(0, 10) />
<cfset req.setAcquirerId(acquirerId) />
<cfset req.setOffset(offset) />
<cfset req.setRefId("19962013011400028") />

<!-- 2.get MatchEnquiryService instance -->
<cfset matchFactory = createObject("java", "com.cps.match.service.MatchEnquiryServiceFactory") />
<cfset matchEnquiryService = matchFactory.getDefaultInstance()>

<!-- 3.call enquiryHistory and get EnquiryResponse ojbect -->
<cfset enquiryResponse = matchEnquiryService.enquireHistory(req)>



<html>
	<head>
		<title>
			Hello World! 
		</title>
	</head>
	<body>
		<div>
			<!-- 4. print out EnquiryResponse ojbect (using) -->
			<cfoutput>
				<cfoutput>	# enquiryResponse # </cfoutput>
			</cfoutput>
		</div>
		<div>
			This is EnquiryHistory service
		</div>
	</body>
</html>
